package com.chow.kayadmin.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/hi/{name}")
    public String add(@PathVariable("name") String name){
        return "hello "+ name;
    }
}
